package Xuanke.entities;
public class Person {
    private String id;
    private String name;
    private String gender;
    public Person(String id, String name, String gender) 
    {
        this.id = id;
        this.name = name;
        this.gender = gender;
    }
        public String getId()     
    {      
        return id;
    }
    public String getName() 
    {
        return name;
    }
        public String getGender()
    {
        return gender;
    }
    public void printInfo()
    {
        System.out.println("编号：" + id + "，姓名：" + name + "，性别：" + gender);
    }
}